$OpenBSD: patch-src_tk_tkconfig_c,v 1.2 2017/05/09 13:01:42 espie Exp $
Index: src/tk/tkconfig.c
--- src/tk/tkconfig.c.orig
+++ src/tk/tkconfig.c
@@ -803,7 +803,7 @@ FormatConfigInfo(tkwin, specPtr, widgRec)
 	    argv[4] = buffer;
 	    break;
 	case TK_CONFIG_MM:
-	    sprintf(buffer, "%gm", *((int *) ptr));
+	    sprintf(buffer, "%dm", *((int *) ptr));
 	    argv[4] = buffer;
 	    break;
 	case TK_CONFIG_WINDOW: {
